export function formatSpecs(spData) {
    let sb = "";
    const data = JSON.parse(spData);
    for (let i = 0; i < data.length; i++) {
      const sp = data[i];
      if(i !== data.length - 1) {
        sb = sb + sp.value + " | ";
      } else {
        sb = sb + sp.value;
      }
    }
    return sb;
}